package org.jeecg.modules.yw.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.jeecg.common.system.base.entity.JeecgEntity;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("announcements")
public class Announcement implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "公告ID")
    private String id; // 主键id

    @ApiModelProperty(value = "公告内容")
    private String content; // 公告内容
    @ApiModelProperty(value = "公告标题")
    private String title;
    @ApiModelProperty(value = "公告信息")
    private String info;
    @ApiModelProperty(value = "创建人")
    private String creator; // 创建人

    @ApiModelProperty(value = "创建时间")
    private Date createtime; // 创建时间
}
    